package office.service.business;

import java.util.List;

import office.action.business.form.BidProductDetailConditionForm;
import office.action.business.form.BidProductDetailForm;
import office.action.business.wrapper.BidProductDetailWrapper;
import platform.common.bo.Page;
import platform.common.exception.BusinessException;

/**
 * 标书对应的产品管理
 * @author ZhangYQ
 *
 */
public interface IBidProductDetailService {
	/**
	 * 获取分页信息
	 * @return
	 * @throws BusinessException
	 */
	public Page getPageInfo(BidProductDetailConditionForm condition)throws BusinessException;
	/**
	 * 获取所有的产品结构
	 * @param page
	 * @return
	 * @throws BusinessException
	 */
	public List<BidProductDetailWrapper> findAllBidProductDetail(BidProductDetailConditionForm condition,Page page)throws BusinessException;
	/**
	 * 编辑产品结构
	 * @param saleChanceForm
	 * @throws BusinessException
	 */
	public void editBidProductDetail(BidProductDetailForm form)throws BusinessException;
	
	/**
	 * 删除产品结构
	 * @param id
	 * @throws BusinessException
	 */
	public void delBidProductDetailById(String id)throws BusinessException;
	/**
	 * 根据id获取对象
	 * @param id
	 * @return
	 * @throws BusinessException
	 */
	public BidProductDetailForm getById(String id)throws BusinessException;
	/**
	 * 根据标书的ID获取标书对应的产品明细
	 * @param id
	 * @return
	 * @throws BusinessException
	 */
	public List<BidProductDetailWrapper> findAllBidProductDetailByBidBookId(BidProductDetailConditionForm condition)throws BusinessException;
}
